package com.zxl.manager.service;

import com.zxl.manager.entity.Product;
import com.zxl.manager.entity.ProductDetail;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by jimmy on 2017/7/9.
 */
@Service
public interface ProductService {
    List<Product> getAllProd();

    int insProd(Product product);

    int updProd(Product product);

    int delProd(String ids);

    List<ProductDetail> getProdDet(String proId);

    int insProdDet(List<ProductDetail> pdlist);
}
